package com.nkzy.listener; /**
 * Create by 王建烨 on 2022/4/2 8:25
 **/


import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;

@WebListener
public class FirstListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("第一个监听器启动");
        ServletContextListener.super.contextInitialized(sce);
    }
}
